﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace JamD3
{
    public partial class EditSongTitle : Form
    {
        public EditSongTitle()
        {
            InitializeComponent();
        }

        private void EditSongTitle_Load(object sender, EventArgs e)
        {
            textBox1.Text = SongTitle;
        }

        public string SongTitle { get; set; }

        private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
            this.Close();
        }

        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            SongTitle = textBox1.Text;
            this.DialogResult = DialogResult.OK;
            this.Close();
        }


    }
}
